<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::IoQueue Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d0/df7/classBloomberg_1_1quantum_1_1IoQueue-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::IoQueue Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Thread queue for executing IO tasks.  
 <a href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../da/d93/quantum__io__queue_8h_source.html">quantum_io_queue.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Bloomberg::quantum::IoQueue:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.png" usemap="#Bloomberg::quantum::IoQueue_map" alt=""/>
  <map id="Bloomberg::quantum::IoQueue_map" name="Bloomberg::quantum::IoQueue_map">
<area href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html" title="Interface to a task queue. For internal use only." alt="Bloomberg::quantum::IQueue" shape="rect" coords="0,56,188,80"/>
<area href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html" title="Represents an object which can be terminated. This interface allows certain objects to be explicitly ..." alt="Bloomberg::quantum::ITerminate" shape="rect" coords="0,0,188,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a606d20e0414289ede91d785537b334ec"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a606d20e0414289ede91d785537b334ec">TaskList</a> = std::list&lt; <a class="el" href="../../d4/d8b/classBloomberg_1_1quantum_1_1IoTask.html#af433efa37f8b3dffd03e3aa614acc9f5">IoTask::Ptr</a>, <a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a8a48c732495dfe1af2d8bf0e3febe94f">QueueListAllocator</a> &gt;</td></tr>
<tr class="separator:a606d20e0414289ede91d785537b334ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9ed4b0cc5e9b69bcd25a232c5d1a6a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a1b9ed4b0cc5e9b69bcd25a232c5d1a6a">TaskListIter</a> = TaskList::iterator</td></tr>
<tr class="separator:a1b9ed4b0cc5e9b69bcd25a232c5d1a6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_structBloomberg_1_1quantum_1_1IQueue"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structBloomberg_1_1quantum_1_1IQueue')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html">Bloomberg::quantum::IQueue</a></td></tr>
<tr class="memitem:a5d3e6340ac9844b3fabb6759e1b7facb inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facb">QueueType</a> : int { <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facbad594f8e0e058efd6cc21aa4ec8498277">QueueType::Coro</a>, 
<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facbacf3882f1c43ab22bff0bd9d82d83251b">QueueType::IO</a>, 
<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a5d3e6340ac9844b3fabb6759e1b7facbab1c94ca2fbc3e78fc30069c8d0f01680">QueueType::All</a>
 }</td></tr>
<tr class="separator:a5d3e6340ac9844b3fabb6759e1b7facb inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec9f17dc0836162032f0239b2415649e inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#aec9f17dc0836162032f0239b2415649e">QueueId</a> : int { <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#aec9f17dc0836162032f0239b2415649eaed36a1ef76a59ee3f15180e0441188ad">QueueId::Any</a> = -1, 
<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#aec9f17dc0836162032f0239b2415649eac90a13d8ec8fe53c6bb33fe10af6f2fe">QueueId::Same</a> = -2, 
<a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#aec9f17dc0836162032f0239b2415649eab1c94ca2fbc3e78fc30069c8d0f01680">QueueId::All</a> = -3
 }</td></tr>
<tr class="separator:aec9f17dc0836162032f0239b2415649e inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c4a3db733a93ad451c9dc7ffe62824 inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#ab4c4a3db733a93ad451c9dc7ffe62824">Ptr</a> = std::shared_ptr&lt; <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html">IQueue</a> &gt;</td></tr>
<tr class="separator:ab4c4a3db733a93ad451c9dc7ffe62824 inherit pub_types_structBloomberg_1_1quantum_1_1IQueue"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad1779a101017867fc43793eb0ccd118d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#ad1779a101017867fc43793eb0ccd118d">IoQueue</a> ()</td></tr>
<tr class="separator:ad1779a101017867fc43793eb0ccd118d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80072a900f23a05faa265184d0411b5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a80072a900f23a05faa265184d0411b5b">IoQueue</a> (const <a class="el" href="../../db/dda/classBloomberg_1_1quantum_1_1Configuration.html">Configuration</a> &amp;config, std::vector&lt; <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &gt; *sharedIoQueues)</td></tr>
<tr class="separator:a80072a900f23a05faa265184d0411b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e03ca7073367a4d686239e838504e35"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a1e03ca7073367a4d686239e838504e35">IoQueue</a> (const <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &amp;other)</td></tr>
<tr class="separator:a1e03ca7073367a4d686239e838504e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd3f9b0e7aec806ad155588fadd65b90"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#afd3f9b0e7aec806ad155588fadd65b90">IoQueue</a> (<a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &amp;&amp;other)=default</td></tr>
<tr class="separator:afd3f9b0e7aec806ad155588fadd65b90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66addb48225eb3844d9b4a68b99dec7b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a66addb48225eb3844d9b4a68b99dec7b">~IoQueue</a> ()</td></tr>
<tr class="separator:a66addb48225eb3844d9b4a68b99dec7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04095064b96d22100d250607d4fcd4b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a04095064b96d22100d250607d4fcd4b8">terminate</a> () final</td></tr>
<tr class="memdesc:a04095064b96d22100d250607d4fcd4b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the object.  <a href="#a04095064b96d22100d250607d4fcd4b8">More...</a><br /></td></tr>
<tr class="separator:a04095064b96d22100d250607d4fcd4b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d7bacf4e0aeb3b203df8b1b2aa83b46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a8d7bacf4e0aeb3b203df8b1b2aa83b46">pinToCore</a> (int coreId) final</td></tr>
<tr class="separator:a8d7bacf4e0aeb3b203df8b1b2aa83b46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2615663c17c3b491604287dcb99b7746"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a2615663c17c3b491604287dcb99b7746">run</a> () final</td></tr>
<tr class="separator:a2615663c17c3b491604287dcb99b7746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a48e004a7678b61df3943f566bbba5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a7a48e004a7678b61df3943f566bbba5f">enqueue</a> (<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a> task) final</td></tr>
<tr class="separator:a7a48e004a7678b61df3943f566bbba5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17126cc19ff6fd87d49090d861e19199"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a17126cc19ff6fd87d49090d861e19199">tryEnqueue</a> (<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a> task) final</td></tr>
<tr class="separator:a17126cc19ff6fd87d49090d861e19199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3220563ba2afaa8568687860d338ab5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a3220563ba2afaa8568687860d338ab5e">dequeue</a> (std::atomic_bool &amp;hint) final</td></tr>
<tr class="separator:a3220563ba2afaa8568687860d338ab5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1facc9eef62868eb2226783b0cce4704"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a1facc9eef62868eb2226783b0cce4704">tryDequeue</a> (std::atomic_bool &amp;hint) final</td></tr>
<tr class="separator:a1facc9eef62868eb2226783b0cce4704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0e527a6434c6725f97df261a9347342"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#ac0e527a6434c6725f97df261a9347342">size</a> () const final</td></tr>
<tr class="separator:ac0e527a6434c6725f97df261a9347342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06430c8e2d0be6fa04ee2ad154053c5f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a06430c8e2d0be6fa04ee2ad154053c5f">empty</a> () const final</td></tr>
<tr class="separator:a06430c8e2d0be6fa04ee2ad154053c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13ec2b1a4938dd4fd17589cf9b25dc31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/de7/structBloomberg_1_1quantum_1_1IQueueStatistics.html">IQueueStatistics</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a13ec2b1a4938dd4fd17589cf9b25dc31">stats</a> () final</td></tr>
<tr class="separator:a13ec2b1a4938dd4fd17589cf9b25dc31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae9229f4f27b4cd3af6bd2c65099120"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d05/classBloomberg_1_1quantum_1_1SpinLock.html">SpinLock</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#afae9229f4f27b4cd3af6bd2c65099120">getLock</a> () final</td></tr>
<tr class="separator:afae9229f4f27b4cd3af6bd2c65099120"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9932c7c47b2d5ef92677758915e61a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#af9932c7c47b2d5ef92677758915e61a6">signalEmptyCondition</a> (bool value) final</td></tr>
<tr class="separator:af9932c7c47b2d5ef92677758915e61a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae61b8e7039e4e7b57d02e5ecbe7148c7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#ae61b8e7039e4e7b57d02e5ecbe7148c7">isIdle</a> () const final</td></tr>
<tr class="separator:ae61b8e7039e4e7b57d02e5ecbe7148c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structBloomberg_1_1quantum_1_1ITerminate')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html">Bloomberg::quantum::ITerminate</a></td></tr>
<tr class="memitem:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">~ITerminate</a> ()=default</td></tr>
<tr class="memdesc:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. This function is explicitly left empty.  <a href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">More...</a><br /></td></tr>
<tr class="separator:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Thread queue for executing IO tasks. </p>
<dl class="section note"><dt>Note</dt><dd>For internal use only. </dd></dl>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a606d20e0414289ede91d785537b334ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a606d20e0414289ede91d785537b334ec">&#9670;&nbsp;</a></span>TaskList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a606d20e0414289ede91d785537b334ec">Bloomberg::quantum::IoQueue::TaskList</a> =  std::list&lt;<a class="el" href="../../d4/d8b/classBloomberg_1_1quantum_1_1IoTask.html#af433efa37f8b3dffd03e3aa614acc9f5">IoTask::Ptr</a>, <a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html#a8a48c732495dfe1af2d8bf0e3febe94f">QueueListAllocator</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1b9ed4b0cc5e9b69bcd25a232c5d1a6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b9ed4b0cc5e9b69bcd25a232c5d1a6a">&#9670;&nbsp;</a></span>TaskListIter</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html#a1b9ed4b0cc5e9b69bcd25a232c5d1a6a">Bloomberg::quantum::IoQueue::TaskListIter</a> =  TaskList::iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad1779a101017867fc43793eb0ccd118d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1779a101017867fc43793eb0ccd118d">&#9670;&nbsp;</a></span>IoQueue() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::IoQueue::IoQueue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a80072a900f23a05faa265184d0411b5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80072a900f23a05faa265184d0411b5b">&#9670;&nbsp;</a></span>IoQueue() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::IoQueue::IoQueue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/dda/classBloomberg_1_1quantum_1_1Configuration.html">Configuration</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &gt; *&#160;</td>
          <td class="paramname"><em>sharedIoQueues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1e03ca7073367a4d686239e838504e35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e03ca7073367a4d686239e838504e35">&#9670;&nbsp;</a></span>IoQueue() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::IoQueue::IoQueue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afd3f9b0e7aec806ad155588fadd65b90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd3f9b0e7aec806ad155588fadd65b90">&#9670;&nbsp;</a></span>IoQueue() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::IoQueue::IoQueue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a66addb48225eb3844d9b4a68b99dec7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66addb48225eb3844d9b4a68b99dec7b">&#9670;&nbsp;</a></span>~IoQueue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::IoQueue::~IoQueue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3220563ba2afaa8568687860d338ab5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3220563ba2afaa8568687860d338ab5e">&#9670;&nbsp;</a></span>dequeue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a> Bloomberg::quantum::IoQueue::dequeue </td>
          <td>(</td>
          <td class="paramtype">std::atomic_bool &amp;&#160;</td>
          <td class="paramname"><em>hint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a0e08ead7b9a2a82815c4be8a1dd69eb4">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a06430c8e2d0be6fa04ee2ad154053c5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06430c8e2d0be6fa04ee2ad154053c5f">&#9670;&nbsp;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::IoQueue::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a652d294c36a4df010cfbf94b1743a40b">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a7a48e004a7678b61df3943f566bbba5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a48e004a7678b61df3943f566bbba5f">&#9670;&nbsp;</a></span>enqueue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::IoQueue::enqueue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a>&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a3160aa0fd603f3fdefe94b5765ae3d06">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="afae9229f4f27b4cd3af6bd2c65099120"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afae9229f4f27b4cd3af6bd2c65099120">&#9670;&nbsp;</a></span>getLock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d05/classBloomberg_1_1quantum_1_1SpinLock.html">SpinLock</a> &amp; Bloomberg::quantum::IoQueue::getLock </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a2f5a2d983d0300b5728605589efc3fd1">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="ae61b8e7039e4e7b57d02e5ecbe7148c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae61b8e7039e4e7b57d02e5ecbe7148c7">&#9670;&nbsp;</a></span>isIdle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::IoQueue::isIdle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a0695aa035537f8557673013c88cfa7d9">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a8d7bacf4e0aeb3b203df8b1b2aa83b46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d7bacf4e0aeb3b203df8b1b2aa83b46">&#9670;&nbsp;</a></span>pinToCore()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::IoQueue::pinToCore </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>coreId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a2b26630f2b788587cbfdc6b9cdfa32f5">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a2615663c17c3b491604287dcb99b7746"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2615663c17c3b491604287dcb99b7746">&#9670;&nbsp;</a></span>run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::IoQueue::run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#ad0e76e814f49c0571c34f8385b83a4d3">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="af9932c7c47b2d5ef92677758915e61a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9932c7c47b2d5ef92677758915e61a6">&#9670;&nbsp;</a></span>signalEmptyCondition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::IoQueue::signalEmptyCondition </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#aa229841d1c65dd381ad5674fb8701da0">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="ac0e527a6434c6725f97df261a9347342"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0e527a6434c6725f97df261a9347342">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t Bloomberg::quantum::IoQueue::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a96c22d2b4a4823457f31c2d4bcfbcd4f">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a13ec2b1a4938dd4fd17589cf9b25dc31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13ec2b1a4938dd4fd17589cf9b25dc31">&#9670;&nbsp;</a></span>stats()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/de7/structBloomberg_1_1quantum_1_1IQueueStatistics.html">IQueueStatistics</a> &amp; Bloomberg::quantum::IoQueue::stats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a528f9a6e0b5f6cb3cf043af135f380a1">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a04095064b96d22100d250607d4fcd4b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04095064b96d22100d250607d4fcd4b8">&#9670;&nbsp;</a></span>terminate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::IoQueue::terminate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Terminates the object. </p>
<dl class="section note"><dt>Note</dt><dd>This method should contain all logic necessary to properly cleanup this instance. </dd></dl>

<p>Implements <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a66e42ce854b5afbb7742c5ffdaae8503">Bloomberg::quantum::ITerminate</a>.</p>

</div>
</div>
<a id="a1facc9eef62868eb2226783b0cce4704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1facc9eef62868eb2226783b0cce4704">&#9670;&nbsp;</a></span>tryDequeue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a> Bloomberg::quantum::IoQueue::tryDequeue </td>
          <td>(</td>
          <td class="paramtype">std::atomic_bool &amp;&#160;</td>
          <td class="paramname"><em>hint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a60aba8f2ed1ed1fef0054104aa7cc31f">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
<a id="a17126cc19ff6fd87d49090d861e19199"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17126cc19ff6fd87d49090d861e19199">&#9670;&nbsp;</a></span>tryEnqueue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::IoQueue::tryEnqueue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">ITask::Ptr</a>&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d2/db0/structBloomberg_1_1quantum_1_1IQueue.html#a089cbdd69a554fe45fc46c608f470538">Bloomberg::quantum::IQueue</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../d4/dd1/classBloomberg_1_1quantum_1_1IoQueue.html">IoQueue</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
